\section{Tags\-Controller Class Reference}
\label{class_tags_controller}\index{Tags\-Controller@{Tags\-Controller}}
Inheritance diagram for Tags\-Controller\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=3.000000cm]{class_tags_controller}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
{\bf filters} ()
\item 
{\bf access\-Rules} ()
\item 
{\bf action\-View} (\$id)
\item 
{\bf action\-Create} ()
\item 
{\bf action\-Update} (\$id)
\item 
{\bf action\-Delete} (\$id)
\item 
{\bf action\-Index} ()
\item 
{\bf action\-Admin} ()
\item 
{\bf load\-Model} (\$id)
\end{DoxyCompactItemize}
\subsection*{Data Fields}
\begin{DoxyCompactItemize}
\item 
{\bfseries \$layout} ='//layouts/column2'\label{class_tags_controller_a2b0d08e73a90b9443ce37506b7c6a544}

\end{DoxyCompactItemize}
\subsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
{\bf perform\-Ajax\-Validation} (\$model)
\end{DoxyCompactItemize}


\subsection{Member Function Documentation}
\index{Tags\-Controller@{Tags\-Controller}!access\-Rules@{access\-Rules}}
\index{access\-Rules@{access\-Rules}!TagsController@{Tags\-Controller}}
\subsubsection[{access\-Rules}]{\setlength{\rightskip}{0pt plus 5cm}access\-Rules (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}\label{class_tags_controller_a06b9943f26298eca9387c6099343b938}
Specifies the access control rules. This method is used by the 'access\-Control' filter. \begin{DoxyReturn}{Returns}
array access control rules 
\end{DoxyReturn}
\index{Tags\-Controller@{Tags\-Controller}!action\-Admin@{action\-Admin}}
\index{action\-Admin@{action\-Admin}!TagsController@{Tags\-Controller}}
\subsubsection[{action\-Admin}]{\setlength{\rightskip}{0pt plus 5cm}action\-Admin (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}\label{class_tags_controller_a251c5654a2fa56e2db1fed76f1213e18}
Manages all models. \index{Tags\-Controller@{Tags\-Controller}!action\-Create@{action\-Create}}
\index{action\-Create@{action\-Create}!TagsController@{Tags\-Controller}}
\subsubsection[{action\-Create}]{\setlength{\rightskip}{0pt plus 5cm}action\-Create (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}\label{class_tags_controller_a79d5756db0eac4dfb390e20c6bc2aa35}
Creates a new model. If creation is successful, the browser will be redirected to the 'view' page. \index{Tags\-Controller@{Tags\-Controller}!action\-Delete@{action\-Delete}}
\index{action\-Delete@{action\-Delete}!TagsController@{Tags\-Controller}}
\subsubsection[{action\-Delete}]{\setlength{\rightskip}{0pt plus 5cm}action\-Delete (
\begin{DoxyParamCaption}
\item[{}]{\$id}
\end{DoxyParamCaption}
)}\label{class_tags_controller_aae63d67f5d4f550b1f08ed64bda783cb}
Deletes a particular model. If deletion is successful, the browser will be redirected to the 'admin' page. 
\begin{DoxyParams}[1]{Parameters}
integer & {\em \$id} & the I\-D of the model to be deleted \\
\hline
\end{DoxyParams}
\index{Tags\-Controller@{Tags\-Controller}!action\-Index@{action\-Index}}
\index{action\-Index@{action\-Index}!TagsController@{Tags\-Controller}}
\subsubsection[{action\-Index}]{\setlength{\rightskip}{0pt plus 5cm}action\-Index (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}\label{class_tags_controller_ae955b1cdd5f2adcae90f9e744d8cc7a6}
Lists all models. \index{Tags\-Controller@{Tags\-Controller}!action\-Update@{action\-Update}}
\index{action\-Update@{action\-Update}!TagsController@{Tags\-Controller}}
\subsubsection[{action\-Update}]{\setlength{\rightskip}{0pt plus 5cm}action\-Update (
\begin{DoxyParamCaption}
\item[{}]{\$id}
\end{DoxyParamCaption}
)}\label{class_tags_controller_a5f1575b9680d8dc2b68bef329084facb}
Updates a particular model. If update is successful, the browser will be redirected to the 'view' page. 
\begin{DoxyParams}[1]{Parameters}
integer & {\em \$id} & the I\-D of the model to be updated \\
\hline
\end{DoxyParams}
\index{Tags\-Controller@{Tags\-Controller}!action\-View@{action\-View}}
\index{action\-View@{action\-View}!TagsController@{Tags\-Controller}}
\subsubsection[{action\-View}]{\setlength{\rightskip}{0pt plus 5cm}action\-View (
\begin{DoxyParamCaption}
\item[{}]{\$id}
\end{DoxyParamCaption}
)}\label{class_tags_controller_a061ed78db0253f5392b645d0e62ea0b3}
Displays a particular model. 
\begin{DoxyParams}[1]{Parameters}
integer & {\em \$id} & the I\-D of the model to be displayed \\
\hline
\end{DoxyParams}
\index{Tags\-Controller@{Tags\-Controller}!filters@{filters}}
\index{filters@{filters}!TagsController@{Tags\-Controller}}
\subsubsection[{filters}]{\setlength{\rightskip}{0pt plus 5cm}filters (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}\label{class_tags_controller_afe5dbb3e026bc3bfdecbd539025c7f93}
\begin{DoxyReturn}{Returns}
array action filters 
\end{DoxyReturn}
\index{Tags\-Controller@{Tags\-Controller}!load\-Model@{load\-Model}}
\index{load\-Model@{load\-Model}!TagsController@{Tags\-Controller}}
\subsubsection[{load\-Model}]{\setlength{\rightskip}{0pt plus 5cm}load\-Model (
\begin{DoxyParamCaption}
\item[{}]{\$id}
\end{DoxyParamCaption}
)}\label{class_tags_controller_a8b798ef08cfec79c6e01e549e0c9ad81}
Returns the data model based on the primary key given in the G\-E\-T variable. If the data model is not found, an H\-T\-T\-P exception will be raised. 
\begin{DoxyParams}{Parameters}
{\em integer} & the I\-D of the model to be loaded \\
\hline
\end{DoxyParams}
\index{Tags\-Controller@{Tags\-Controller}!perform\-Ajax\-Validation@{perform\-Ajax\-Validation}}
\index{perform\-Ajax\-Validation@{perform\-Ajax\-Validation}!TagsController@{Tags\-Controller}}
\subsubsection[{perform\-Ajax\-Validation}]{\setlength{\rightskip}{0pt plus 5cm}perform\-Ajax\-Validation (
\begin{DoxyParamCaption}
\item[{}]{\$model}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [protected]}}\label{class_tags_controller_ad308eebe70d46c77f0c610fbda0606da}
Performs the A\-J\-A\-X validation. 
\begin{DoxyParams}{Parameters}
{\em C\-Model} & the model to be validated \\
\hline
\end{DoxyParams}


The documentation for this class was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
protected/controllers/Tags\-Controller.\-php\end{DoxyCompactItemize}
